package cn.qiao.rabbitmq;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * desc:
 *
 * @author qiao
 * @date 2023年01月05日 14:29
 */
@Component
@RabbitListener(queues = "topic.man")
public class ManTopicConsumer {


    @RabbitHandler
    public void process(Object o) {
        System.out.println("ManTopicConsumer消费者收到消息: " + o.toString());
    }
}
